@charset "utf-8";
@import "reset";
@import "common";


.clearfix{
    &::before {
        content: "";
        display: table;
    }
    &::after {
        content: "";
        display: table;
        clear: both;
    }
}
.fl {
    float: left;
}

img {
    width: 100%;
}

//banner
.indexbanner {
    background-color: #2b80d9;
    text-align: center;
    font-size: 0;
    &:hover img{
        opacity: .8;
    }
}

//LayaFlash引擎
.p1_h {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    padding-bottom:34px;
    color: #2b80d9;
}
.p1_h_b {
    font-size: 30px;
    line-height: 1;
    padding-bottom: 77px;
}
.p1 {
    padding: 105px 0 40px;
    background-color: #fbfaf7;
    .p1_c {
        padding: 0 15px 44px 15px;
        padding-bottom: 44px;
        &>div {
            overflow: hidden;
        }
    }
    .p1_c_h {
        font-size: 19px;
        line-height: 26px;
        padding-bottom: 8px;
    }
    .p1_c_c {
        font-size: 14px;
        line-height: 23px;
    }
}

//优势
.p2 {
    padding: 89px 0;
}
.p2_h {
    font-size: 48px;
    line-height: 106px;
    color: #8fc31f;
    font-weight: bold;
}
.p2_c {
    padding-top: 16px;
    .picbox,span {
        display: inline-block;
        vertical-align: middle;
    }
    .picbox {
        margin-left: 6px;
        margin-right: 10px;
        width: 54px;
    }
    span {
        font-size: 14px;
        line-height:1.2 ;
        color: #666666;
        width: 73%;
    }
}

//产品
.p3 {
    padding: 113px 0 74px;
    background-color: #0079d7;
    font-size: 0;
    .picbox,.p3_c {
        display: inline-block;
        vertical-align: top;
    }
    hr {
        width: 100%;
        height: 0;
        background-color: transparent;
        margin: 0;
        border: 0;
    }
    .picbox {
        width: 13%;
        margin: 21px 43px 0 45px;
        margin: 2% 4% 0 4%;
    }
}
.p3_h {
    line-height: 1;
    font-size: 48px;
    padding-bottom: 63px;
    color: white;
    text-align: center;
}
.p3_c {
    padding-bottom: 62px;
    color: white;
    width: 79%;
    .p3_c_h {
        font-size: 32px;
        line-height:48px ;
    }
    span {
        font-size: 14px;
        line-height: 30px;
    }
}

//更多游戏
.p4 {
    margin: 88px auto 44px;
    color: #2A2A2A;
    a {
        color: inherit;
        &:hover {
            color: #9d9d9d;
        }
    }
    &>.clearfix {
        padding-bottom: 50px;
    }
}
.p4_h {
    font-size: 34px;
    line-height: 1;
}
    //视频部分
    .video {
//      position: relative;
//      img {
//          position: absolute;
//          width: 100%;
//          top: 0;
//          left: 0;
//      }
        video {
            width: 100%;
            margin: -6.5% 0 0 0 ;
            border-radius: 5px;
        }
    }
    //右边游戏目录
    .games {
        text-align: center;
        &>div {
//          padding: ;
        }
        .name {
            height: 50px;
            line-height: 20px;
            font-size: 14px;
            padding: 5px 0;
        }
    }

//合作伙伴
.p5 {
    padding: 44px 0 40px;
    background-color: #f4f4f4;
    .picbox {
        margin-bottom: 20px;
        padding: 0 7.5px;
        img {
            border: 1px solid #dddddd;
            border-radius: 4px;
        }
    }
}
.p5_h {
    font-size: 30px;
    line-height: 1;
    padding-bottom:33px ;
    color: #2a2a2a;
    span {
        font-size:12px ;
        color:#777777 ;
        line-height: 1;
        padding-left: 5px;
    }
}

@media (max-width:767px) {
    .p1_h,.p2_h,.p3_h,.p4_h,.p5_h {
        font-size: 30px;
        line-height: 1;
        padding-bottom: 34px;
    }
    .p1,.p2,.p3,.p5 {
        padding: 30px 0;
    }
    .p5 {
        padding-bottom: 0;
    }
    //layaflash引擎
    .p1 {
        .p1_h_b {
            font-size: 20px;
            padding-bottom: 20px;
        }
        .p1_c {
            padding-bottom: 15px;
        }
        .sidepic{
            display: none;
        }
    }
    //优势
    .p2 {
        .sidepic {
            display: none;
        }
        .picbox {
            width: 30px;
        }
    }
    //产品
    .p3 {
        .picbox {
            width: calc(16.6666% - 30px);
        }
        .p3_c_h {
            line-height: 26px;
            font-size: 19px;
            padding-bottom: 8px;
        }
        .p3_c {
            padding-bottom: 15px;
        }
    }
    //
    .p4 {
        margin: 30px auto;
    }
    
}
